﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.searcher
{
    public class Result
    {
        public string title { get; set; }
        public string url { get; set; }
        // 描述为正文的一部分摘要
        public string desc { get; set; }

        public string getTitle()
        {
            return title;
        }

        public void setTitle(string title)
        {
            this.title = title;
        }

        public string getUrl()
        {
            return url;
        }

        public void setUrl(string url)
        {
            this.url = url;
        }

        public string getDesc()
        {
            return desc;
        }

        public void setDesc(string desc)
        {
            this.desc = desc;
        }

        
    public string toString()
        {
            return "Result{" +
                    "title='" + title + '\'' +
                    ", url='" + url + '\'' +
                    ", desc='" + desc + '\'' +
                    '}';
        }
    }
}
